/**
 * 首页
 */
.answers-content .items {
    margin: 10px 0 20px 0;
    border-bottom: 1px dashed #f1f1f1;
    padding-bottom: 20px;
}
.answers-content .items .immages-tag {
    text-align: left;
}
.answers-content .items .immages-tag img {
    max-width: 100%;
    border: 1px dashed #eee;
    padding: 5px;
}
.answers-content .edit-submit {
    margin-bottom: 20px;
}
.answers-content img {
    max-width: 100%;
}
.answers-content .am-slider-c3 .am-slider-counter {
    background-color: #d13a49;
}
@media only screen and (min-width:640px) {
    .answers-slider .am-slider {
        width: 30%;
    }
}

@media only screen and (max-width:640px) {

}

/**
 * 编辑页面
 */
ul.plugins-images-view li, ul.plugins-images-bottom-view li {
    width: 100%;
    height: auto;
}

/**
 * 幻灯片编辑
 */
ul.plug-file-upload-view li {
    min-width: 300px;
    height: auto;
}


/**
 * 商品推荐编辑
 */
form.am-form {
    margin-bottom: 20px;
}
select.forth-selection-form-category {
    display: -webkit-inline-box;
}
.forth-selection-container .forth-selection-form-category, .forth-selection-container .chosen-container, .forth-selection-container .forth-selection-form-keywords {
    width: 30% !important;
}
.forth-selection-container .chosen-container, .forth-selection-container .forth-selection-form-keywords {
    display: -webkit-inline-box !important;
}
.forth-selection-container .chosen-single {
    width: 100%;
}
.forth-selection-container .forth-selection-form {
    margin-bottom: 2px;
}
.forth-selection-list {
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
}
.forth-selection-list .forth-selection-items {
    width: calc(50% - 50px);
    height: 300px;
}
.forth-selection-list .forth-selection-items .title {
    text-align: center;
}
.forth-selection-list .forth-selection-items .forth-selection-content {
    border: 1px solid #eee;
    height: calc(100% - 25px);
    overflow-y: scroll;
    overflow-x: hidden;
    border-radius: 2px;
    margin-top: 5px;
}
.forth-selection-list .forth-selection-items .forth-selection-content li {
    padding: 5px 45px 5px 5px;
    border-style: dotted;
    border-color: #eaeaea;
    border-width: 1px 0;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    max-width: 100%;
    color: #666;
    position: relative;
}
.forth-selection-list .forth-selection-items .forth-selection-content li:nth-child(2) {
    border-top: 0;
}
.forth-selection-list .forth-selection-items .forth-selection-content li i {
    cursor: pointer;
    padding: 0 10px 0 5px;
    position: absolute;
    top: 5px;
    right: 5px;
}
.forth-selection-list .selected-all {
    position: absolute;
    margin-top: 140px;
    margin-left: 20px;
}
.forth-selection-container input[name="category_ids"] {
    position: absolute;
    left: -1000000px;
    top: -1000000px;
}
.forth-selection-list i {
    color: #888 !important;
}
.am-form-error .forth-selection-items .forth-selection-content {
    border-color: #dd514c;
}

.content-view {
    max-width: 100%;
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
}
.content-view-win {
    border: 1px solid #eee;
    padding: 10px;
}
.content-view-win img, .content-view img {
    max-width: 100%;
}

@media only screen and (max-width: 641px) {
    .forth-selection-container .forth-selection-form-category, .forth-selection-container .forth-selection-form-keywords
    {
        width: calc(55% - 60px) !important;
        display: -webkit-inline-box !important;
    }
    .forth-selection-container .chosen-container {
        display: none !important;
    }

    .content-view-td {
        display: none;
    }
}

